﻿namespace _02_InputOutput
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入用户名");
            string yourName = Console.ReadLine();
            Console.WriteLine("请输入密码");
            string password = Console.ReadLine();
            if (password == "123")
            {
                Console.WriteLine(yourName + "，登陆成功");
            }
            else
            {
                Console.WriteLine("登录失败");
            }
        }
    }
}
